.class public Lcom/waiqin365/lightapp/returngoods/b/a/b;
.super Lcom/waiqin365/lightapp/returngoods/b/d;


# instance fields
.field public b:Ljava/lang/String;

.field public c:Ljava/lang/String;

.field public d:I

.field public e:I

.field public f:Ljava/util/List;

.field public g:Z

.field public h:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 1

    const/16 v0, 0x1fc

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/returngoods/b/d;-><init>(I)V

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/returngoods/b/a/b;->g:Z

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/b/a/b;->h:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;)Z
    .locals 14

    :try_start_0
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0, p1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string/jumbo v1, "code"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_3

    const-string/jumbo v1, "code"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/waiqin365/lightapp/returngoods/b/a/b;->b:Ljava/lang/String;

    const-string/jumbo v1, "1"

    iget-object v2, p0, Lcom/waiqin365/lightapp/returngoods/b/a/b;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_4

    const-string/jumbo v1, "recPerPage"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    const-string/jumbo v1, "recPerPage"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v1

    iput v1, p0, Lcom/waiqin365/lightapp/returngoods/b/a/b;->d:I

    :cond_0
    const-string/jumbo v1, "total"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    const-string/jumbo v1, "total"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/waiqin365/lightapp/returngoods/b/a/b;->h:Ljava/lang/String;

    :cond_1
    const-string/jumbo v1, "data"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_40

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, p0, Lcom/waiqin365/lightapp/returngoods/b/a/b;->f:Ljava/util/List;

    const-string/jumbo v1, "data"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v4

    if-eqz v4, :cond_40

    invoke-virtual {v4}, Lorg/json/JSONArray;->length()I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/returngoods/b/a/b;->e:I

    const/4 v0, 0x0

    move v3, v0

    :goto_0
    invoke-virtual {v4}, Lorg/json/JSONArray;->length()I

    move-result v0

    if-ge v3, v0, :cond_40

    invoke-virtual {v4, v3}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v2

    new-instance v5, Lcom/waiqin365/lightapp/returngoods/c/a;

    invoke-direct {v5}, Lcom/waiqin365/lightapp/returngoods/c/a;-><init>()V

    const-string/jumbo v0, "id"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_6

    const-string/jumbo v0, "id"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_1
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->a:Ljava/lang/String;

    const-string/jumbo v0, "orderNo"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_7

    const-string/jumbo v0, "orderNo"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_2
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->b:Ljava/lang/String;

    const-string/jumbo v0, "orderDate"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_8

    const-string/jumbo v0, "orderDate"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_3
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->c:Ljava/lang/String;

    const-string/jumbo v0, "submitEmpId"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_9

    const-string/jumbo v0, "submitEmpId"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_4
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->d:Ljava/lang/String;

    const-string/jumbo v0, "submitEmpName"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_a

    const-string/jumbo v0, "submitEmpName"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_5
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->e:Ljava/lang/String;

    const-string/jumbo v0, "submitTime"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_b

    const-string/jumbo v0, "submitTime"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_6
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->f:Ljava/lang/String;

    const-string/jumbo v0, "modifyTimeStr"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_c

    const-string/jumbo v0, "modifyTimeStr"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_7
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->F:Ljava/lang/String;

    const-string/jumbo v0, "createTimeStr"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_d

    const-string/jumbo v0, "createTimeStr"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_8
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->x:Ljava/lang/String;

    const-string/jumbo v0, "cmId"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_e

    const-string/jumbo v0, "cmId"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_9
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->g:Ljava/lang/String;

    const-string/jumbo v0, "cmName"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_f

    const-string/jumbo v0, "cmName"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_a
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->h:Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1

    :try_start_1
    const-string/jumbo v0, "orderAmount"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_10

    const-string/jumbo v0, "orderAmount"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/Double;->valueOf(Ljava/lang/String;)Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v0

    :goto_b
    iput-wide v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->i:D
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    :goto_c
    :try_start_2
    const-string/jumbo v0, "locationA"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_11

    const-string/jumbo v0, "locationA"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_d
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->l:Ljava/lang/String;

    const-string/jumbo v0, "locationC"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_12

    const-string/jumbo v0, "locationC"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_e
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->k:Ljava/lang/String;

    const-string/jumbo v0, "pictures"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_13

    const-string/jumbo v0, "pictures"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_f
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->m:Ljava/lang/String;

    const-string/jumbo v0, "orderStatus"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_14

    const-string/jumbo v0, "orderStatus"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_10
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->n:Ljava/lang/String;

    const-string/jumbo v0, "receiveName"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_15

    const-string/jumbo v0, "receiveName"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_11
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->D:Ljava/lang/String;

    const-string/jumbo v0, "receivePhone"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_16

    const-string/jumbo v0, "receivePhone"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_12
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->B:Ljava/lang/String;

    const-string/jumbo v0, "receiveTel"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_17

    const-string/jumbo v0, "receiveTel"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_13
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->C:Ljava/lang/String;

    const-string/jumbo v0, "receiveAddr"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_18

    const-string/jumbo v0, "receiveAddr"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_14
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->E:Ljava/lang/String;

    const-string/jumbo v0, "remarks"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_19

    const-string/jumbo v0, "remarks"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_15
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->s:Ljava/lang/String;

    const-string/jumbo v0, "confirmTime"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1a

    const-string/jumbo v0, "confirmTime"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_16
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->o:Ljava/lang/String;

    const-string/jumbo v0, "cancelReason"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1b

    const-string/jumbo v0, "cancelReason"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_17
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->r:Ljava/lang/String;
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1

    :try_start_3
    const-string/jumbo v0, "discountAmount"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1c

    const-string/jumbo v0, "discountAmount"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/Double;->valueOf(Ljava/lang/String;)Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v0

    :goto_18
    iput-wide v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->t:D
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_2

    :goto_19
    :try_start_4
    const-string/jumbo v0, "actualAmount"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1d

    const-string/jumbo v0, "actualAmount"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/Double;->valueOf(Ljava/lang/String;)Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v0

    :goto_1a
    iput-wide v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->j:D
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_3

    :goto_1b
    :try_start_5
    const-string/jumbo v0, "consignmentDate"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1e

    const-string/jumbo v0, "consignmentDate"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_1c
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->u:Ljava/lang/String;

    const-string/jumbo v0, "dealer"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1f

    const-string/jumbo v0, "dealer"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_1d
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->v:Ljava/lang/String;

    const-string/jumbo v0, "dealerName"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_20

    const-string/jumbo v0, "dealerName"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_1e
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->w:Ljava/lang/String;

    const-string/jumbo v0, "storehouseName"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_21

    const-string/jumbo v0, "storehouseName"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_1f
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->A:Ljava/lang/String;

    const-string/jumbo v0, "storehouse"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_22

    const-string/jumbo v0, "storehouse"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_20
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->z:Ljava/lang/String;

    const-string/jumbo v0, "orderRemark"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_23

    const-string/jumbo v0, "orderRemark"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_21
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->s:Ljava/lang/String;

    const-string/jumbo v0, "confirmEmpId"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_24

    const-string/jumbo v0, "confirmEmpId"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_22
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->p:Ljava/lang/String;

    const-string/jumbo v0, "confirmEmpName"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_25

    const-string/jumbo v0, "confirmEmpName"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_23
    iput-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->q:Ljava/lang/String;

    const-string/jumbo v0, "products"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3f

    const-string/jumbo v0, "products"

    invoke-virtual {v2, v0}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v6

    if-eqz v6, :cond_3f

    const/4 v0, 0x0

    move v2, v0

    :goto_24
    invoke-virtual {v6}, Lorg/json/JSONArray;->length()I

    move-result v0

    if-ge v2, v0, :cond_3f

    invoke-virtual {v6, v2}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v7

    new-instance v8, Lcom/waiqin365/lightapp/product/d/d;

    invoke-direct {v8}, Lcom/waiqin365/lightapp/product/d/d;-><init>()V

    const-string/jumbo v0, "id"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_26

    const-string/jumbo v0, "id"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_25
    invoke-virtual {v8, v0}, Lcom/waiqin365/lightapp/product/d/d;->a(Ljava/lang/String;)V

    const-string/jumbo v0, "is_gift"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_27

    const-string/jumbo v0, "is_gift"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_26
    const-string/jumbo v1, "1"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_28

    sget-object v0, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;

    invoke-virtual {v8, v0}, Lcom/waiqin365/lightapp/product/d/d;->f(Ljava/lang/Boolean;)V

    :cond_2
    :goto_27
    const-string/jumbo v0, "name"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_29

    const-string/jumbo v0, "name"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_28
    iput-object v0, v8, Lcom/waiqin365/lightapp/product/d/d;->a:Ljava/lang/String;

    const-string/jumbo v0, "code"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2a

    const-string/jumbo v0, "code"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_29
    iput-object v0, v8, Lcom/waiqin365/lightapp/product/d/d;->h:Ljava/lang/String;

    const-string/jumbo v0, "barcode"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2b

    const-string/jumbo v0, "barcode"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_2a
    iput-object v0, v8, Lcom/waiqin365/lightapp/product/d/d;->i:Ljava/lang/String;

    const-string/jumbo v0, "spec"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2c

    const-string/jumbo v0, "spec"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_2b
    iput-object v0, v8, Lcom/waiqin365/lightapp/product/d/d;->b:Ljava/lang/String;

    const-string/jumbo v0, "name_spec"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2d

    const-string/jumbo v0, "name_spec"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_2c
    iput-object v0, v8, Lcom/waiqin365/lightapp/product/d/d;->c:Ljava/lang/String;

    const-string/jumbo v0, "orderPrice"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2e

    const-string/jumbo v0, "orderPrice"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_2d
    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->e(Ljava/lang/String;)Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v8, v0}, Lcom/waiqin365/lightapp/product/d/d;->a(Ljava/lang/Double;)V

    const-string/jumbo v0, "returnCount"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2f

    const-string/jumbo v0, "returnCount"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_2e
    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->e(Ljava/lang/String;)Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v8, v0}, Lcom/waiqin365/lightapp/product/d/d;->b(Ljava/lang/Double;)V

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v0, "confirmCount"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_30

    const-string/jumbo v0, "confirmCount"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_2f
    const-wide/16 v10, 0x0

    invoke-static {v0, v10, v11}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;D)D

    move-result-wide v10

    invoke-virtual {v8}, Lcom/waiqin365/lightapp/product/d/d;->g()Ljava/lang/Double;

    move-result-object v0

    const-wide/16 v12, 0x0

    invoke-static {v0, v12, v13}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v12

    sub-double/2addr v10, v12

    invoke-virtual {v1, v10, v11}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v8, Lcom/waiqin365/lightapp/product/d/d;->m:Ljava/lang/String;

    const-string/jumbo v0, "brand"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_31

    const-string/jumbo v0, "brand"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_30
    iput-object v0, v8, Lcom/waiqin365/lightapp/product/d/d;->j:Ljava/lang/String;

    const-string/jumbo v0, "tagNew"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_32

    const-string/jumbo v0, "tagNew"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_32

    const/4 v0, 0x1

    :goto_31
    iput-boolean v0, v8, Lcom/waiqin365/lightapp/product/d/d;->p:Z

    const-string/jumbo v0, "tagHot"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_33

    const-string/jumbo v0, "tagHot"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_33

    const/4 v0, 0x1

    :goto_32
    iput-boolean v0, v8, Lcom/waiqin365/lightapp/product/d/d;->o:Z

    const-string/jumbo v0, "tagGift"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_34

    const-string/jumbo v0, "tagGift"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_34

    const/4 v0, 0x1

    :goto_33
    iput-boolean v0, v8, Lcom/waiqin365/lightapp/product/d/d;->q:Z

    const-string/jumbo v0, "tagSale"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_35

    const-string/jumbo v0, "tagSale"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_35

    const/4 v0, 0x1

    :goto_34
    iput-boolean v0, v8, Lcom/waiqin365/lightapp/product/d/d;->r:Z

    const-string/jumbo v0, "fomat_num"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_36

    const-string/jumbo v0, "fomat_num"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_35
    iput-object v0, v8, Lcom/waiqin365/lightapp/product/d/d;->f:Ljava/lang/String;

    const-string/jumbo v0, "prop_values"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_37

    const-string/jumbo v0, "prop_values"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_36
    iput-object v0, v8, Lcom/waiqin365/lightapp/product/d/d;->d:Ljava/lang/String;

    const-string/jumbo v0, "input_unit"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_38

    const-string/jumbo v0, "input_unit"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    move-object v1, v0

    :goto_37
    const-string/jumbo v0, "inputUnit"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_39

    const-string/jumbo v0, "inputUnit"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_38
    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v9

    if-nez v9, :cond_3a

    invoke-virtual {v8, v0}, Lcom/waiqin365/lightapp/product/d/d;->e(Ljava/lang/String;)V

    :goto_39
    const-string/jumbo v0, "productRemarks"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3b

    const-string/jumbo v0, "productRemarks"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_3a
    invoke-virtual {v8, v0}, Lcom/waiqin365/lightapp/product/d/d;->d(Ljava/lang/String;)V

    const-string/jumbo v0, "status"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3c

    const-string/jumbo v0, "status"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_3b
    iput-object v0, v8, Lcom/waiqin365/lightapp/product/d/d;->k:Ljava/lang/String;

    const-string/jumbo v0, "saleStatus"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3d

    const-string/jumbo v0, "saleStatus"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_3c
    iput-object v0, v8, Lcom/waiqin365/lightapp/product/d/d;->l:Ljava/lang/String;

    const-string/jumbo v0, "orderDetailId"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3e

    const-string/jumbo v0, "orderDetailId"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_3d
    invoke-virtual {v8, v0}, Lcom/waiqin365/lightapp/product/d/d;->b(Ljava/lang/String;)V

    iget-object v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->y:Ljava/util/List;

    invoke-interface {v0, v8}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto/16 :goto_24

    :cond_3
    const/4 v0, 0x0

    :goto_3e
    return v0

    :cond_4
    const-string/jumbo v1, "message"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_5

    const-string/jumbo v1, "message"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/b/a/b;->c:Ljava/lang/String;

    :cond_5
    const/4 v0, 0x1

    goto :goto_3e

    :cond_6
    const-string/jumbo v0, ""

    goto/16 :goto_1

    :cond_7
    const-string/jumbo v0, ""

    goto/16 :goto_2

    :cond_8
    const-string/jumbo v0, ""

    goto/16 :goto_3

    :cond_9
    const-string/jumbo v0, ""

    goto/16 :goto_4

    :cond_a
    const-string/jumbo v0, ""

    goto/16 :goto_5

    :cond_b
    const-string/jumbo v0, ""

    goto/16 :goto_6

    :cond_c
    const-string/jumbo v0, ""

    goto/16 :goto_7

    :cond_d
    const-string/jumbo v0, ""

    goto/16 :goto_8

    :cond_e
    const-string/jumbo v0, ""

    goto/16 :goto_9

    :cond_f
    const-string/jumbo v0, ""

    goto/16 :goto_a

    :cond_10
    const-wide/16 v0, 0x0

    goto/16 :goto_b

    :catch_0
    move-exception v0

    const-wide/16 v0, 0x0

    iput-wide v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->i:D

    goto/16 :goto_c

    :catch_1
    move-exception v0

    const/4 v0, 0x0

    goto :goto_3e

    :cond_11
    const-string/jumbo v0, ""

    goto/16 :goto_d

    :cond_12
    const-string/jumbo v0, ""

    goto/16 :goto_e

    :cond_13
    const-string/jumbo v0, ""

    goto/16 :goto_f

    :cond_14
    const-string/jumbo v0, ""

    goto/16 :goto_10

    :cond_15
    const-string/jumbo v0, ""

    goto/16 :goto_11

    :cond_16
    const-string/jumbo v0, ""

    goto/16 :goto_12

    :cond_17
    const-string/jumbo v0, ""

    goto/16 :goto_13

    :cond_18
    const-string/jumbo v0, ""

    goto/16 :goto_14

    :cond_19
    const-string/jumbo v0, ""

    goto/16 :goto_15

    :cond_1a
    const-string/jumbo v0, ""

    goto/16 :goto_16

    :cond_1b
    const-string/jumbo v0, ""

    goto/16 :goto_17

    :cond_1c
    const-wide/16 v0, 0x0

    goto/16 :goto_18

    :catch_2
    move-exception v0

    const-wide/16 v0, 0x0

    iput-wide v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->t:D

    goto/16 :goto_19

    :cond_1d
    const-wide/16 v0, 0x0

    goto/16 :goto_1a

    :catch_3
    move-exception v0

    const-wide/16 v0, 0x0

    iput-wide v0, v5, Lcom/waiqin365/lightapp/returngoods/c/a;->j:D

    goto/16 :goto_1b

    :cond_1e
    const-string/jumbo v0, ""

    goto/16 :goto_1c

    :cond_1f
    const-string/jumbo v0, ""

    goto/16 :goto_1d

    :cond_20
    const-string/jumbo v0, ""

    goto/16 :goto_1e

    :cond_21
    const-string/jumbo v0, ""

    goto/16 :goto_1f

    :cond_22
    const-string/jumbo v0, ""

    goto/16 :goto_20

    :cond_23
    const-string/jumbo v0, ""

    goto/16 :goto_21

    :cond_24
    const-string/jumbo v0, ""

    goto/16 :goto_22

    :cond_25
    const-string/jumbo v0, ""

    goto/16 :goto_23

    :cond_26
    const-string/jumbo v0, ""

    goto/16 :goto_25

    :cond_27
    const-string/jumbo v0, ""

    goto/16 :goto_26

    :cond_28
    const-string/jumbo v1, "0"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    sget-object v0, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;

    invoke-virtual {v8, v0}, Lcom/waiqin365/lightapp/product/d/d;->f(Ljava/lang/Boolean;)V

    goto/16 :goto_27

    :cond_29
    const-string/jumbo v0, ""

    goto/16 :goto_28

    :cond_2a
    const-string/jumbo v0, ""

    goto/16 :goto_29

    :cond_2b
    const-string/jumbo v0, ""

    goto/16 :goto_2a

    :cond_2c
    const-string/jumbo v0, ""

    goto/16 :goto_2b

    :cond_2d
    const-string/jumbo v0, ""

    goto/16 :goto_2c

    :cond_2e
    const-string/jumbo v0, ""

    goto/16 :goto_2d

    :cond_2f
    const-string/jumbo v0, ""

    goto/16 :goto_2e

    :cond_30
    const-string/jumbo v0, ""

    goto/16 :goto_2f

    :cond_31
    const-string/jumbo v0, ""

    goto/16 :goto_30

    :cond_32
    const/4 v0, 0x0

    goto/16 :goto_31

    :cond_33
    const/4 v0, 0x0

    goto/16 :goto_32

    :cond_34
    const/4 v0, 0x0

    goto/16 :goto_33

    :cond_35
    const/4 v0, 0x0

    goto/16 :goto_34

    :cond_36
    const-string/jumbo v0, ""

    goto/16 :goto_35

    :cond_37
    const-string/jumbo v0, ""

    goto/16 :goto_36

    :cond_38
    const-string/jumbo v0, ""

    move-object v1, v0

    goto/16 :goto_37

    :cond_39
    const-string/jumbo v0, ""

    goto/16 :goto_38

    :cond_3a
    invoke-virtual {v8, v1}, Lcom/waiqin365/lightapp/product/d/d;->e(Ljava/lang/String;)V

    goto/16 :goto_39

    :cond_3b
    const-string/jumbo v0, ""

    goto/16 :goto_3a

    :cond_3c
    const-string/jumbo v0, ""

    goto/16 :goto_3b

    :cond_3d
    const-string/jumbo v0, ""

    goto/16 :goto_3c

    :cond_3e
    const-string/jumbo v0, ""

    goto/16 :goto_3d

    :cond_3f
    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/b/a/b;->f:Ljava/util/List;

    invoke-interface {v0, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_5
    .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_1

    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto/16 :goto_0

    :cond_40
    const/4 v0, 0x1

    goto/16 :goto_3e
.end method
